package com.ido.wechat.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信配置参数
 * Create by zoub
 * Date 2022/11/10 下午8:33
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatConfiguration {

    private String appid;

    private String secret;

    private String grantType;

    private String token;

    /**
     * 获取服务端认证access_token
     */
    private String tokenUrl;

    /**
     * 小程序登录
     */
    private String loginUrl;

    /**
     * 获取手机号
     */
    private String phoneNumberUrl;

    /**
     * 统一消息
     */
    private String sendMsgUrl;

    /**
     * 订阅消息
     */
    private String sendSubMsgUrl;




}
